//202302104030-王桉锦
import src.main.java.cn.edu.sdjzu.xg.eagle.entity.Student;

import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.SQLException;

public interface StudentService {
    Student find(Long id)throws SQLException, BaseException, InvocationTargetException;
    boolean addStudent(Student student)throws SQLException, BaseException, InvocationTargetException;
    student find(Connection connection,Long id)throws SQLException, BaseException, InvocationTargetException;
    boolean update(Student student)throws SQLException;
    boolean delete(Long id)throws SQLException,BaseException, InvocationTargetException;
}
